import { App } from 'vue'
import XtxSkeleton from './skeleton/index.vue'
import XtxCarousel from './carousel/index.vue'
import XtxMore from './more/index.vue'
import Bread from './bread/index.vue'
import BreadItem from './bread/item.vue'

export default {
  // app => 通过 createApp(App) 创建出来的实例
  install(app: App) {
    app.component(XtxSkeleton.name, XtxSkeleton)
    app.component(XtxCarousel.name, XtxCarousel)
    app.component(XtxMore.name, XtxMore)
    app.component(Bread.name, Bread)
    app.component(BreadItem.name, BreadItem)
  },
}
